﻿'By: CHUN SOKCHEA
'Student of Build Bright University
'Mail: chunsokchea@gmailc.om
'Phone: 087 397 317
Module callform
    Friend Function AddForm(ByVal pn As Panel, ByVal frm As Form)
        pn.Controls.Clear()
        frm.TopLevel = False
        frm.Visible = True
        frm.Dock = DockStyle.Fill
        pn.Controls.Add(frm)
        frm.Show()
        frm.WindowState = FormWindowState.Maximized
    End Function

End Module
